package cn.ibizlab.odoo.core.odoo_barcodes.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_barcodes.domain.Barcodes_barcode_events_mixin;
import cn.ibizlab.odoo.core.odoo_barcodes.filter.Barcodes_barcode_events_mixinSearchContext;

/**
 * 实体[Barcodes_barcode_events_mixin] 服务对象接口
 */

public interface IBarcodes_barcode_events_mixinService{
     boolean create(Barcodes_barcode_events_mixin barcodes_barcode_events_mixin) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean update(Barcodes_barcode_events_mixin barcodes_barcode_events_mixin) ;
     boolean remove(Integer id) ;
     void updateBatch(List<Barcodes_barcode_events_mixin> barcodes_barcode_events_mixins, int batchSize) ;
     Barcodes_barcode_events_mixin get(Integer id) ;
     Barcodes_barcode_events_mixin get(Barcodes_barcode_events_mixin barcodes_barcode_events_mixin) ;
     void createBatch(List<Barcodes_barcode_events_mixin> barcodes_barcode_events_mixins, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Barcodes_barcode_events_mixin> searchDefault(Barcodes_barcode_events_mixinSearchContext context) ;

    /**
     * 转换ClientModel为Domain
     */
    public Barcodes_barcode_events_mixin convert2Domain(cn.ibizlab.odoo.core.client.model.Ibarcodes_barcode_events_mixin model ,Barcodes_barcode_events_mixin domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Ibarcodes_barcode_events_mixin convert2Model(Barcodes_barcode_events_mixin domain , cn.ibizlab.odoo.core.client.model.Ibarcodes_barcode_events_mixin model);

}
